home *** CD-ROM | disk | FTP | other *** search
/ SGI Origin & Onyx2 Patches 1998 May / Origin and Onyx2 System Disk Patches May 1998.img / dist / patchSG0001765.idb / usr / include / dmedia / vlctrl.h.z / vlctrl.h
C/C++ Source or Header  |  1997-05-19  |  2KB  |  58 lines

  1. #ifndef _VL_CTRL_H_
  2. #define _VL_CTRL_H_
  3.  
  4. /*
  5.  *  vlctrl.h - Triggered controls definitions
  6.  *  used by apps, vl, vided, dd layers AND drivers
  7.  *
  8.  * Copyright 1993,1994 Silicon Graphics, Inc.
  9.  * All Rights Reserved.
  10.  *
  11.  * This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;
  12.  * the contents of this file may not be disclosed to third parties, copied or
  13.  * duplicated in any form, in whole or in part, without the prior written
  14.  * permission of Silicon Graphics, Inc.
  15.  *
  16.  * RESTRICTED RIGHTS LEGEND:
  17.  * Use, duplication or disclosure by the Government is subject to restrictions
  18.  * as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data
  19.  * and Computer Software clause at DFARS 252.227-7013, and/or in similar or
  20.  * successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -
  21.  * rights reserved under the Copyright Laws of the United States.
  22.  */
  23.  
  24. #ifdef __cplusplus
  25. extern "C" {
  26. #endif
  27.  
  28. #include <stddef.h>
  29. #include <sys/types.h>
  30. #include <sys/dmcommon.h>
  31. #include <dmedia/dm_timecode.h>
  32.  
  33.  
  34. /* Control changes occurring on specific types of triggers */
  35. typedef uint32_t VLTriggerType;
  36.  
  37. #define VL_TRIGGER_NONE        0    /* No trigger, do it now */
  38. #define VL_TRIGGER_MSC         1    /* Control change at specific MSC */
  39. #define VL_TRIGGER_GPI        2    /* Control change at a GPI */
  40. #define VL_TRIGGER_VITC        3    /* Control change at specific VITC */
  41. #define VL_TRIGGER_INLINE    4    /* Control change between two frames */
  42. #define VL_TRIGGER_MINTYPE     1
  43. #define VL_TRIGGER_MAXTYPE     4
  44.  
  45.  
  46. /* Trigger-specific data */
  47. typedef union {
  48.     stamp_t msc;        /* msc trigger - MSC */
  49.     stamp_t bufnum;        /* video buffer # - INLINE */
  50.     uint32_t instance;    /* Which trigger - GPI */
  51.     DMtimecode vitc;    /* vitc - VITC */
  52. } VLTriggerVal;
  53.  
  54. #ifdef __cplusplus
  55. }
  56. #endif
  57. #endif /* _VL_CTRL_H_ */
  58.